
Ext.define('AM.view.user.Edit',{

        extend:'Ext.window.Window',
        alias:'widget.useredit',
        iconCls:'add',
        title:'Edit User',
        layout:'fit',
        autoShow:true,
        modal:true,
        initComponent:function f() {
            Ext.setGlyphFontFamily('FontAwesome');
            this.items=[{

                xtype:'form',
                items:[{
                    xtype:'textfield',
                    name:'name',
                    fieldLabel:'Name'
                },{
                    xtype:'textfield',
                    name:'email',
                    fieldLabel:'Email'
                }]
            }];

            this.buttons=[{
                text:'删除',
                action:'save',
                iconCls:'add'
                //glyph: 0xf007
            }]

            this.callParent(arguments);
        }

});